// router_provider.dart
import 'package:asset_management/navigation/route_notifier.dart';
import 'package:asset_management/navigation/route_observer.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

final routeObserverProvider =
    Provider<CustomRouteObserver>((ref) => CustomRouteObserver(ref));

final routeNotifierProvider =
    StateNotifierProvider.autoDispose<RouteNotifier, RouteState>(
        (ref) => RouteNotifier());
